package com.blb.ishop.dao;

import com.blb.ishop.entity.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class UserDAOImpl implements UserDAO{

    @Override
    public boolean login(User user) {
        System.out.println("登录用户");
        return false;
    }

    @Override
    public void addUser(User user) {
        System.out.println("添加用户");
    }

    @Override
    public void updateUser(User user) {
        System.out.println("更新用户");
    }

    @Override
    public void deleteUser(Long id) {
        System.out.println("删除用户");
    }

    @Override
    public List<User> selectUser() {
        System.out.println("查询用户");
        return null;
    }
}
